<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
   <script>
       for(var i = 0;i <= 10;i ++){
           if(i == 5){
               break;
           }
           console.log("i = "+ i);
       }
       for(var j = 0;j <= 10;j ++){
           if(j == 5){
               continue;
           }
           console.log("j = "+ j);
       }
   </script>
</body>
</html>